//
//  UIButton+Animations.h
//  maintain
//
//  Created by 郑想 on 15/10/20.
//  Copyright © 2015年 ewin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <pop/POP.h>

typedef void (^animationsCompletionBlock)();
@interface UIButton (Animations)

/**
 *  使按钮抖动
 *
 *  @param velocity 抖动幅度
 *  @param block    动画结束调用
 */
- (void)shakeWithVelocity:(NSNumber*)velocity completionBlock:(animationsCompletionBlock)block;

@end
